package com.yueshop.seckill.constant;

public class SeckillConstant {
    // 秒杀活动的key
    public static final String SECKILL_SESSION_CACHE_PREFIX = "seckill:session:";
    // 秒杀活动关联的商品的key
    public static final String SECKILL_SKUS_CACHE_PREFIX = "seckill:skus:";
        // 秒杀商品库存信号量
    public static final String SECKILL_SKU_STOCK_SEMAPHORE = "seckill:stock:";
    // 秒杀商品的分布式锁
    public static final String SECKILL_UPLOAD_LOCK = "seckill:upload:lock";
}
